<template>
  <CrudTable :columns="columns" :api="api" />
</template>
<script setup>
import CrudTable from '@/components/CrudTable.vue'
import * as api from '@/api/inventory'
const columns = [
  { prop: 'id', label: '库存ID' },
  { prop: 'deviceId', label: '器械ID' },
  { prop: 'quantity', label: '库存数量' },
  { prop: 'minThreshold', label: '最小阈值' },
  { prop: 'maxThreshold', label: '最大阈值' },
  { prop: 'lastUpdateTime', label: '最后更新时间' }
]
</script>